import request from '@/utils/request'

const api = {
    priceList: '/price/lists',
    priceEdit: '/price/edit'
}

export function priceEdit (parameter) {
    return request({
        url: api.priceEdit,
        method: 'post',
        data: parameter
    })
}

export function priceList (parameter) {
    return request({
        url: api.priceList,
        method: 'get',
        params: parameter
    })
}
